using System.Windows.Forms;

namespace NExplorer.Controls
{
	internal class ExplorerListViewSubItem : ListViewItem.ListViewSubItem
	{
		private readonly ColumnItemData _columnItemData;

		public ExplorerListViewSubItem(ListViewItem owner, ColumnItemData columnItemData)
			: base(owner, columnItemData.Text)
		{
			_columnItemData = columnItemData;	
		}

		public ColumnItemData ColumnItemData
		{
			get { return _columnItemData; }
		}
	}
}